package com.youngjun.user.pojo.domain;

import java.sql.Timestamp;
import com.youngjun.common.pojo.domain.support.BaseDO;

public class Region extends BaseDO<Region> {

    private Long id;

    private Timestamp gmtCreated;

    private Timestamp gmtModified;

    private Boolean isDeleted;

    private String name;

    private Long parentId;

    private Boolean isLeaf;

    public Long getId() {
        return id;
    }

    public Region setId(Long id) {
        this.id = id;
        return this;
    }
    public Timestamp getGmtCreated() {
        return gmtCreated;
    }

    public Region setGmtCreated(Timestamp gmtCreated) {
        this.gmtCreated = gmtCreated;
        return this;
    }
    public Timestamp getGmtModified() {
        return gmtModified;
    }

    public Region setGmtModified(Timestamp gmtModified) {
        this.gmtModified = gmtModified;
        return this;
    }
    public Boolean getIsDeleted() {
        return isDeleted;
    }

    public Region setIsDeleted(Boolean isDeleted) {
        this.isDeleted = isDeleted;
        return this;
    }
    public String getName() {
        return name;
    }

    public Region setName(String name) {
        this.name = name;
        return this;
    }
    public Long getParentId() {
        return parentId;
    }

    public Region setParentId(Long parentId) {
        this.parentId = parentId;
        return this;
    }
    public Boolean getIsLeaf() {
        return isLeaf;
    }

    public Region setIsLeaf(Boolean isLeaf) {
        this.isLeaf = isLeaf;
        return this;
    }
}